


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'inscricaoItens.label', default: 'InscricaoItens')}" />
        <title><g:message code="default.edit.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.edit.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${inscricaoItensInstance}">
            <div class="errors">
                <g:renderErrors bean="${inscricaoItensInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form method="post" >
                <g:hiddenField name="id" value="${inscricaoItensInstance?.id}" />
                <g:hiddenField name="version" value="${inscricaoItensInstance?.version}" />
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="fase"><g:message code="inscricaoItens.fase.label" default="Fase" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: inscricaoItensInstance, field: 'fase', 'errors')}">
                                    <g:textField name="fase" value="${inscricaoItensInstance?.fase}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="grupo"><g:message code="inscricaoItens.grupo.label" default="Grupo" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: inscricaoItensInstance, field: 'grupo', 'errors')}">
                                    <g:textField name="grupo" value="${inscricaoItensInstance?.grupo}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="letra"><g:message code="inscricaoItens.letra.label" default="Letra" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: inscricaoItensInstance, field: 'letra', 'errors')}">
                                    <g:textField name="letra" value="${inscricaoItensInstance?.letra}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="descricao"><g:message code="inscricaoItens.descricao.label" default="Descricao" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: inscricaoItensInstance, field: 'descricao', 'errors')}">
                                    <g:textField name="descricao" value="${inscricaoItensInstance?.descricao}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="ponto"><g:message code="inscricaoItens.ponto.label" default="Ponto" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: inscricaoItensInstance, field: 'ponto', 'errors')}">
                                    <g:textField name="ponto" value="${fieldValue(bean: inscricaoItensInstance, field: 'ponto')}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="categoria"><g:message code="inscricaoItens.categoria.label" default="Categoria" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: inscricaoItensInstance, field: 'categoria', 'errors')}">
                                    <g:textField name="categoria" value="${inscricaoItensInstance?.categoria}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="inscricaoAcompanhamentoItenss"><g:message code="inscricaoItens.inscricaoAcompanhamentoItenss.label" default="Inscricao Acompanhamento Itenss" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: inscricaoItensInstance, field: 'inscricaoAcompanhamentoItenss', 'errors')}">
                                    
<ul>
<g:each in="${inscricaoItensInstance?.inscricaoAcompanhamentoItenss?}" var="i">
    <li><g:link controller="inscricaoAcompanhamentoItens" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
</g:each>
</ul>
<g:link controller="inscricaoAcompanhamentoItens" action="create" params="['inscricaoItens.id': inscricaoItensInstance?.id]">${message(code: 'default.add.label', args: [message(code: 'inscricaoAcompanhamentoItens.label', default: 'InscricaoAcompanhamentoItens')])}</g:link>

                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
